{% extends "base.html" %}

{% block navbar %}
<nav class="blog-nav navbar-static-top">
    <a class="blog-nav-item logo"  href="/publish"><b>发布管理</b></a>
</nav>
{% endblock %}

{% block content %}
    <div class="btn-group" role="group" aria-label="...">
        <button type="button" class="btn generate btn-default">生成</button>
        <button type="button" class="btn deploy btn-default">部署到github</button>
    </div>
{% endblock %}

{% block customjs %}
$(".generate").click(function(){
    $.getJSON("/publish/generate",function(data){
        alert(data);
    })
});
{% endblock %}

{% block pager %}
{% endblock %}

{% block hot %}
{% endblock %}

{% block categories %}
{% endblock %}

{% block links %}
{% endblock %}

{% block about %}
{% endblock %}